package per.hnvcam.util.rws.services;

import java.util.List;

import per.hnvcam.util.rws.ResourceMetadata;
import per.hnvcam.util.rws.ResourceWatchingListener;

public interface ResourceWatcher {

   void addListener(ResourceWatchingListener listener);

   void addResource(String resource);

   void removeListener(ResourceWatchingListener listener);

   List<ResourceWatchingListener> getListeners();

   void scanForChanges();

   ResourceMetadata removeResource(String resource);

}
